package com.autologistics.model;

import java.sql.Time;
import java.util.HashSet;
import java.util.Set;

/**
 * Media entity. @author MyEclipse Persistence Tools
 */

public class Media implements java.io.Serializable {

	// Fields

	private Integer id;
	private String path;
	private Time length;
	private Time startTime;
	private Time endTime;
	private String md5;
	private String filename;
	private Boolean isDelete;
	private Set mediamachines = new HashSet(0);

	// Constructors

	/** default constructor */
	public Media() {
	}

	/** full constructor */
	public Media(String path, Time length, Time startTime, Time endTime,
			String md5, String filename, Boolean isDelete, Set mediamachines) {
		this.path = path;
		this.length = length;
		this.startTime = startTime;
		this.endTime = endTime;
		this.md5 = md5;
		this.filename = filename;
		this.isDelete = isDelete;
		this.mediamachines = mediamachines;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Time getLength() {
		return this.length;
	}

	public void setLength(Time length) {
		this.length = length;
	}

	public Time getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Time startTime) {
		this.startTime = startTime;
	}

	public Time getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Time endTime) {
		this.endTime = endTime;
	}

	public String getMd5() {
		return this.md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getFilename() {
		return this.filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public Boolean getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public Set getMediamachines() {
		return this.mediamachines;
	}

	public void setMediamachines(Set mediamachines) {
		this.mediamachines = mediamachines;
	}

}